<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item>{{ breadcrumbData[0] }}</el-breadcrumb-item>
    <el-breadcrumb-item>{{ breadcrumbData[1] }}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
  name: "myBreadcrumb",
  props: ["breadcrumbData"],
};
</script>

<style lang="less" scoped>
.el-breadcrumb {
  margin-top: 8px;
  padding-left: 10px;
}
</style>